A Quantitative Method and Measure for Evaluating Edge Detection Algorithms